IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryExtensions Class > Select Method : Select<TSource,TResult>(IEntityQuery<TSource>,Expression<Func<TSource,Int32,TResult>>) Method |
'Declaration
<ExtensionAttribute()> Public Overloads Shared Function Select (Of TSource,TResult)( _ ByVal source As IEntityQuery(Of TSource), _ ByVal selector As Expression(Of Func(Of TSource,Integer,TResult)) _ ) As IEntityQuery(Of TResult)
'Usage
Dim source As IEntityQuery(Of TSource) Dim selector As Expression(Of Func(Of TSource,Integer,TResult)) Dim value As IEntityQuery(Of TResult) value = EntityQueryExtensions.Select(Of TSource, TResult)(source, selector)
[Extension()] public static IEntityQuery<TResult> Select<TSource,TResult>( IEntityQuery<TSource> source, Expression<Func<TSource,int,TResult>> selector )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2